//
//  FWGoodsTagView.h
//  FengWoFilterTickerDemo
//
//  Created by 郝秀丽 on 15/10/29.
//  Copyright © 2015年 FengWo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Model.h"

typedef NS_ENUM(NSUInteger, FWGoodsTagViewType) {
    FWGoodsTagViewTypeRightBrokenLine,           // 默认类型
    FWGoodsTagViewTypeLeftBrokenLine,
    FWGoodsTagViewTypeRightStraightLine,
    FWGoodsTagViewTypeLeftStraightLine,
};

@class FWGoodsTagView;
@protocol FWGoodsTagViewDelegate <NSObject>

- (void)goodsTagView:(FWGoodsTagView *)goodsTagView tapWithModel:(Model *)model;

@end

@interface FWGoodsTagView : UIView

@property (nonatomic, assign, readonly) FWGoodsTagViewType type;
@property (nonatomic, strong, readonly) Model *model;
@property (nonatomic, assign) id<FWGoodsTagViewDelegate> delegate;
- (void)reloadWithModel:(Model *)model;

@end
